package com.coolingme.f02_factorymethod.factory;

import com.coolingme.f02_factorymethod.ICourse;
import com.coolingme.f02_factorymethod.JavaCourse;

/**
 * java课程工厂
 *
 * @author wangyue
 * @date 2020/9/17 9:25
 */
public class JavaCourseFactory implements ICourseFactory {

    @Override
    public ICourse create() {
        return new JavaCourse();
    }
}
